@model Critex.ViewModels.DashboardViewModel
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    <link rel="stylesheet" type="text/css" href="@Url.Content("../../Content/Dashboard.css")" />
    <link href='http://fonts.googleapis.com/css?family=Pontano+Sans' rel='stylesheet' type='text/css'>
</head>
<body>

    <div id="header">
        <h1>Critex</h1>
        <p>A content management system by Flamefusion</p>
    </div>

    <ul id="sections">
        @if(Model != null && Model.TopLevelSections != null)
        {
            foreach (var category in Model.TopLevelSections)
            {
                <li class="section">
                    @Html.ActionLink(category.Title, "ModifySection", new RouteValueDictionary() {{"id", category.Id}})
                </li>
            }
        }
    </ul>

    <div id="body">
        @RenderBody()
    </div>
</body>
</html>
